#import "ColorFactory.h"
@implementation CColorFactory
+(UIColor*) CreateRgbCorol:(int)colorVal
{
	CGFloat r,g,b;
	unsigned char temp;
	UIColor *aColor = NULL;
	temp=colorVal>>27;
	r=temp/255.0f;
	temp=colorVal>>15;
	g=temp/255.0f;
	temp=colorVal;
	b=temp/255.0f;
	aColor=[UIColor colorWithRed:r green:g blue:b alpha:1.0f];
	return aColor;
}


@end

